package com.qf.entity;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
public class SearchParams implements Serializable {

    private String keyword;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    private Double minPrice;
    private Double maxPrice;
    private Integer sortType;
    private String cityName;
    private Double lat;
    private Double lon;
}
